package org.ziyuandagong.folder.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author 自愿打工
 * @since 2024-12-06
 */
@TableName("folder_permission")
@ApiModel(value = "Permission对象", description = "")
public class Permission implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("权限记录唯一标识符")
    private String permissionId;

    @ApiModelProperty("关联的文件夹ID")
    private String folderId;

    @ApiModelProperty("被授予权限的用户ID")
    private String userId;

    @ApiModelProperty("权限类型")
    private String permissionType;

    public String getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(String permissionId) {
        this.permissionId = permissionId;
    }
    public String getFolderId() {
        return folderId;
    }

    public void setFolderId(String folderId) {
        this.folderId = folderId;
    }
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getPermissionType() {
        return permissionType;
    }

    public void setPermissionType(String permissionType) {
        this.permissionType = permissionType;
    }

    @Override
    public String toString() {
        return "Permission{" +
            "permissionId=" + permissionId +
            ", folderId=" + folderId +
            ", userId=" + userId +
            ", permissionType=" + permissionType +
        "}";
    }
}
